package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 活动商品表
 * 
 * @author manli
 * @email 
 * @date 2020-05-21 21:17:32
 */
@ApiModel(value = "活动商品表")
@Data
public class ActivityGoods implements Serializable {

	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer activityGoodsId;
	/**
	 * 活动类型id
	 */

    @ApiModelProperty(value = "活动类型id",dataType = "Integer")
	    private Integer activityTypeId;
	/**
	 * 商品id
	 */

    @ApiModelProperty(value = "商品id",dataType = "Integer")
	    private Integer goodsDefId;
	/**
	 * 状态 0 禁用 1 启用
	 */

    @ApiModelProperty(value = "活动商品状态 0 禁用 1 启用",dataType = "String")
	    private String status;

	/**
	 * 活动商品状态
	 */

	@ApiModelProperty(value = "活动商品状态",dataType = "String")
	private String activityGoodsStatus;

	/**
	 * 活动类型
	 */

	@ApiModelProperty(value = "活动类型",dataType = "String")
	private String activityTypeName;

	/**
	 * 活动类型状态
	 */

	@ApiModelProperty(value = "活动类型状态",dataType = "String")
	private String activityTypeStatus;

	/**
	 * 商品名
	 */

	@ApiModelProperty(value = "商品名",dataType = "String")
	private String goodsName;

	/**
	 * 主店名
	 */

	@ApiModelProperty(value = "主店名",dataType = "String")
	private String branchName;

	/**
	 * 分店名
	 */

	@ApiModelProperty(value = "分店名",dataType = "String")
	private String partnerName;

	/**
	 * 活动开始时间
	 */

	@ApiModelProperty(value = "活动开始时间yyyy-MM-dd HH:mm:ss",dataType = "String")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date activityStartTime;

	/**
	 * 活动结束时间
	 */

	@ApiModelProperty(value = "活动结束时间yyyy-MM-dd HH:mm:ss",dataType = "String")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date activityEndTime;

}
